package model

type GoodsJson struct {
	PropertyChildIds string
	GoodsId          string
	Number           int
	LogisticsType    int
	InviterId        int
}

type OrderGoods struct {
	Id        int     `gorm:"column:id"`
	OrderId   int     `gorm:"column:order_id"`
	Pic       string  `gorm:"column:pic"`
	Property  string  `gorm:"column:property"`
	GoodsName string  `gorm:"column:goodsName"`
	Number    int     `gorm:"column:number"`
	Amount    float64 `gorm:"column:amount"`
}

type InsertOrder struct {
	Id              int     `gorm:"column:id"`
	ShopNameZt      string  `gorm:"column:shopNameZt"`
	ShopIdZt        int     `gorm:"column:shopIdZt"`
	Status          int     `gorm:"column:status"`
	OrderNumber     string  `gorm:"column:orderNumber"`
	Price           float64 `gorm:"column:price"`
	Amount          float64 `gorm:"column:amount"`
	AmountReal      float64 `gorm:"column:amountReal"`
	Uid             int     `gorm:"column:uid"`
	IsNeedLogistics int     `gorm:"column:isNeedLogistics"`
	GoodsNumber     int     `gorm:"column:goodsNumber"`
	PeisongType     string  `gorm:"column:peisongType"`
	HxNumber        string  `gorm:"column:hxNumber"`
	QuDanHao        string  `gorm:"column:quDanHao"`
	IsCanHx         int     `gorm:"column:isCanHx"`
	Remark          string  `gorm:"column:remark"`
	ProvinceId      string  `gorm:"column:provinceId"`
	CityId          string  `gorm:"column:cityId"`
	DistrictId      string  `gorm:"column:districtId"`
	Address         string  `gorm:"column:address"`
	Latitude        string  `gorm:"column:latitude"`
	Longitude       string  `gorm:"column:longitude"`
	LinkMan         string  `gorm:"column:linkMan"`
	Mobile          string  `gorm:"column:mobile"`
	Code            string  `gorm:"column:code"`
	CouponsId       int     `gorm:"column:couponsId"`
	AmountCoupon    float64 `gorm:"column:amountCoupon"`
	AmountLevel     float64 `gorm:"column:amountLevel"`
	OrderGoods      []OrderGoods
}
